Skip to content

Conversation

@dracwyrm
Copy link

@dracwyrm dracwyrm commented Sep 25, 2017

  • GNUInstallDirs are variables set by each distro and OS, so we don't need to define them manually. They can also be set manually during the configure phase. The code to define custom directories can be removed and replaced with the equivalent GNUInstallDirs variable.
  • Pkg-Config is used to find IlmBase and OpenEXR, but isn't fully utilized everywhere. This makes Pkg-Config a hard dependency so that the libraries and directories can be found easily. This will use the correct libraries no matter how they are named, so this is compatible with both pre-2.0 and post 2.0 naming schemes.
  • The Pkg-Config files had several errors that are now fixed.

This replaces PR #55 as this allows all versions of OpenEXR to be detected via PkgConfig.

@dracwyrm
Copy link
Author

This patch now fixes bug: #68

* GNUInstallDirs are variables set by each distro and OS, so we
  don't need to define them manually. They can also be set manually
  during the configure phase. The code to define custom directories can
  be removed and replaced with the equivalent GNUInstallDirs variable.
* Pkg-Config is used to find IlmBase and OpenEXR, but isn't fully
  utilized everywhere. This makes Pkg-Config a hard dependency so that
  the libraries and directories can be found easily. This will use the
  correct libraries no matter how they are named, so this is compatible
  with both pre-2.0 and post 2.0 naming schemes.
* The Pkg-Config files had several errors that are now fixed.
@dracwyrm dracwyrm changed the title CTL: Use GNUInstallDirs and fix PkgConfig files CTL: Use GNUInstallDirs, fix PkgConfig files, OpenEXR all versions support. Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant